package com.swt.gap.dao;

import com.swt.gap.model.entity.SysGroupUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysGroupUserDao {
    int insert(SysGroupUser record);

    int deleteSysGroupUser(Integer groupId, Integer userId);

    List<Integer> selectGroupByUserId(Integer userId);

    List<Integer> selectUserByGroupIds(@Param("groupIds") List<Integer> groupIds);
}